home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 701-725 / 708 / intuisup / intuisup42.lha / Intuisup / source.lha / Menus / makefile < prev    next >
Makefile  |  1992-04-22  |  1KB  |  45 lines

  1. #
  2. #        Makefile for Menus (Aztec C v5.2a)
  3. #
  4. # Macros
  5. #
  6. #DEFINES    =-dMWDEBUG
  7. DEFINES    =
  8. CFLAGS_PRE =-a -ms -pacs0t -so -wdelopqw -ho ram:menus.pre
  9. CFLAGS_TEST=$(DEFINES) -ms -pacs0t -so -wdelopqw -hi ram:menus.pre
  10. CFLAGS_LIB =$(DEFINES) -mbs -pacs0t -so -wdelopqw -hi ram:menus.pre
  11. LFLAGS     =-m +q -w
  12. INCLUDES   =/render/render.h /language/language.h menus.h
  13. INCLUDES   =/render/render.h /texts/texts.h /borders/borders.h\
  14.  /texts/texts.h
  15. OBJECTS    =menus.o menus_test.o /render/render.o /texts/texts.o\
  16.  /borders/borders.o /gadgets/gadgets1.o /gadgets/gadgets2.o\
  17.  /gadgets/gadgets3.o /requester/requester.o /files/files.o\
  18.  /language/language.o /pointer/pointer.o
  19. #LIBRARIES  =-lmemwatch16 -lc16
  20. LIBRARIES  =-lc16
  21. #
  22. # Dependancy entries
  23. #
  24. all: ram:menus.pre menus_test clear
  25. #
  26. ram:menus.pre: menus.pre
  27.    copy menus.pre $@ clone
  28. #
  29. menus.pre: includes.h
  30.    cc $(CFLAGS_PRE) -o nil: includes.h
  31.    copy ram:$@ $@ clone
  32. #
  33. menus_test: $(OBJECTS)
  34.    ln $(LFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
  35. #
  36. menus_test.o: menus_test.c $(INCLUDES)
  37.    cc $(CFLAGS_TEST) -o $@ $*.c
  38. #
  39. menus.o: menus.c $(INCLUDES)
  40.    cc $(CFLAGS_LIB) -o $@ $*.c
  41. #
  42. clear:
  43.    delete ram:#?.pre
  44. #
  45.